package com.bestcem.xm.ticket.dao.dto;

import com.bestcem.xm.ticket.entity.mongo.Ticket;
import com.bestcem.xm.ticket.entity.mongo.TicketRecord;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author gy.liu
 * @version 1.0
 * @date 2021/8/20 10:29
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class TicketInfo extends Ticket {

    private static final long serialVersionUID = 5722361352828524620L;

    /**
     * 工单日志列表
     */
    @JsonProperty(value = "ticketRecords")
    private List<TicketRecord> ticketRecords;
}
